import request from '../utils/request'

const user ={
    getAdmins(params){
        return request({
            url:'/admin/getAllAdmins',
            method:'GET',
            params
            
        })
    },
    delAdmins(params){
         return request({
             url:'/admin/delAdmins',
             method:'post',
             data:params
         })
    },
    addAdmin(params){
        return request({
            url:'admin/addAdmins',
            method:'post',
            data:params
        })
    }
}
export default user